package thesis.filesharing.bo;

import java.util.List;

import com.google.appengine.api.datastore.Key;

import thesis.filesharing.model.Group;

public interface GroupBO {
	
	public List<Group> listGroupsByClass(Key classKey);
	public Group updateGroup(Group group, List<String> studentIds);
	public boolean checkStudentRegisteredInOtherGroup(Key studentKey, Key classKey, Key currentGroupKey);
	public Group findGroupStudentRegisteredInClass(Key studentKey, String classKey);
	public Group saveGroup(Group group, String[] studentIds, Key classKey);
	public void deleteGroup(Key groupKey);
}
